package com.sisgesbyte.data.entity.sistema;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedNativeQuery;

/**
 * Entity implementation class for Entity: ValidaEmpresa
 *
 */
@Entity
@NamedNativeQuery(name = "sistema.validarEmpresa", query = "SELECT * from sistema.sp_validar_empresa(:codEmpresa)", resultClass = ValidaEmpresaEntity.class)
public class ValidaEmpresaEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@Id
	private int coderror;
	
	private String msjerror;

	public ValidaEmpresaEntity() {
	
	}

	public int getCoderror() {
		return coderror;
	}

	public void setCoderror(int coderror) {
		this.coderror = coderror;
	}

	public String getMsjerror() {
		return msjerror;
	}

	public void setMsjerror(String msjerror) {
		this.msjerror = msjerror;
	}
	
	
   
}
